package org.ztr.yanai.blog.enums;
import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author: ZhaoTR
 * @Date: Created in 2025/11/22 10:00
 * @Description: 文章状态枚举
 * @Version: 1.0
 */
// 文章状态枚举
@Getter
@AllArgsConstructor
public enum PostStatusEnum {
    DRAFT("draft"),
    PUBLISHED("published"),
    PRIVATE("private");

    @EnumValue
    private final String code;
}
